import React, { memo } from "react"

const areEqual = (prevProps, nextProps) => {
    return prevProps.children === nextProps.children
}

function linekButton(props) {
  return (
    <>
      <span
        style={{ color: "#1da57a", marginRight: 0, cursor: "pointer" }}
        onClick={props.onClick}
      >
        {props.children || "按钮"}
      </span>
    </>
  )
}
export default memo(linekButton, areEqual)
